
--[[
	**********************
	* SvFrame - thomasfn *
	**********************
	plugin_header.lua - Prepares the lua environment for a plugin
	NOTE: Should be included in the top of a plugin file, and can be included before SvFrame has loaded!
]]

svr = svr or {}
svr.Plugins = svr.Plugins or {}

PLUGIN = {}

PLUGIN._commands = {}
PLUGIN._hooks = {}
PLUGIN._ihooks = {}

PLUGIN.Loaded = false


function PLUGIN:FinishLoad()
	self.FinishLoad = nil
	svr.Plugins[ #svr.Plugins + 1 ] = PLUGIN
end